<%--
  Created by IntelliJ IDEA.
  User: 28293
  Date: 2022/7/19
  Time: 14:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>会员发布电子书页</title>
    <link href="../css/newbook.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="wholes">
    <div class="header">
        <ul>
            <li class="sy"><a href="#" title="首页">首页</a></li>
            <li><a href="#" title="穿越小说">穿越小说</a></li>
            <li><a href="#" title="重生小说">重生小说</a></li>
            <li><a href="#" title="历史架空古装">历史架空</a></li>
            <li><a href="#" title="青春校园现言">现代言情</a></li>
            <li><a href="#" title="豪门总裁小说">总裁</a></li>
            <li><a href="#" title="修真仙侠幻想">仙侠</a></li>
        </ul>
        <div class="right">
            <ul>
                <li><a href="#" title="恐怖惊悚悬疑推理">退出</a></li>
                <li><a href="#" title="玄幻小说">进入收藏夹</a></li>
                <li><a href="#" title="都市异能娱乐爽文">上传电子书</a></li>
                <li><a href="#" title="历史架空铁血军旅">会员中心</a></li>

            </ul>
        </div>
    </div>
    <div class="second">
        <div class="hymain" style="margin-top: 20px;height: 700px;">
            <div class="hysidebar">
                <div class="userbox yh">
                    <div class="avator">
                        <a href="#" class="avatorpic">
                            <img src="${sessionScope.BASE_PATH }upload/portrait/${sessionScope.user.photo }"/>
                        </a>
                        <a href="/e/member/EditInfo/EditAvator.php" class="editavator">修改头像</a>
                    </div>
                    <div class="userxx yh">
                        <h4>${user.user_name}</h4>
                        <span><a href="/u/164720/">www.ijjxsw.com/u/164720/</a></span>
                        <ul>
                            <li><a href="#">关注<br/><strong>0</strong></a></li>
                            <li><a href="#">粉丝<br/><strong>0</strong></a></li>
                            <li><a href="#">电子书<br/><strong>0</strong></a></li>
                        </ul>
                    </div>
                    <div class="clearfix"></div>
                    <!--勋章 预留-->
                    <div class="xunzhang"></div>
                    <p class="user_info"></p>
                    <div class="clearfix guanzhu">
                        <a href="#" class="button small green">装扮空间</a>
                        <a href="#" class="ml10 button small gray">发站内信</a>
                    </div>
                </div>
                <div class="userzx yh">
                    <div class="jiaozz">
                        <ul>
                            <li style="background-color: #00ACFF;">
                                <a href="${sessionScope.BASE_PATH }membership/_doQueryUserInfo" class=selected>
                                    <span  class="ico_zx"></span>我的个人中心
                                </a>
                            </li>
                            <li>
                                <a href="${sessionScope.BASE_PATH }novel/_doListNovel">
                                    <span class="ico_tg"></span>上传的电子书
                                </a>
                            </li>
<%--                            <li>--%>
<%--                                <a href="${sessionScope.BASE_PATH }novel/_doFavorite">--%>
<%--                                    <span class="ico_fav"></span>收藏的电子书--%>
<%--                                </a>--%>
<%--                            </li>--%>
                            </li>
                            <li>
                                <a href="${sessionScope.BASE_PATH }novel/_doReadingRecord">
                                    <span class="ico_jf"></span>我的阅读记录
                                </a>
                            </li>
                            <li>
                                <a href="${sessionScope.BASE_PATH }main/_doLogout" onclick="return confirm('确认要退出?');">
                                    <span class="ico_out"></span>退出会员中心
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="hyright">
                <div class="hyright">
                    <div class="hy_nav hd" style="font-size: 20px;margin-top: -40px;">
                        <ul style="margin-left: -50px;">
                            <li><a href="" class="on" style="color: #fff;position: relative;background: #259ACD;">上传新书</a></li>
                        </ul>
                    </div>
                    <div class="hytable">
                        <form action="" method="" style="font-size: 15px;">
                            <label style="margin-left: 30px;">作者:</label><input type="text" id="author" required="required" name="author" style="margin-left: 10px;"/><br>
                            &nbsp;&nbsp;&nbsp;<label>小说名:</label><input type="text" id="novel" required="required" name="novel" style="margin-left: 10px;margin-top: 10px;"/><br>
                            <label>小说分类:</label><select name="校园" style="margin-left: 10px;margin-top: 10px;">
                            <option value="穿越">穿越</option>
                            <option value="仙侠">仙侠</option>
                            <option value="言情">言情</option>
                            <option value="校园">校园</option>
                        </select>
                            <br>
                            <label>小说类型:</label><select name="type" style="margin-left: 10px;margin-top: 10px;">
                            <option value="转载">转载</option>
                            <option value="原创">原创</option>
                        </select>
                            <br>
                            <label>写作进度:</label><select name="writing" style="margin-left: 10px;margin-top: 10px;">
                            <option value="完结">完结</option>
                            <option value="未完结">未完结</option>
                        </select>
                            <br>
                            <label>封面图片:</label><input type="file" id="photo" name="photo" style="margin-left: 10px;margin-top: 10px;"/><br>
                            <label>小说文件:</label><input type="file" id="txt" name="txt" style="margin-left: 10px;margin-top: 10px;"/><br>
                            <textarea id="text1" name="content" style="display: none;"></textarea>
                            <div id="div1" style="height: 200px;margin-top: 5px;"></div>
                            <input type="submit" id="" name="" value="保存信息" style="margin-top: 190px;background-color: #00ACFF;width: 100px;height: 30px;border: 0px;margin-left: 100px;"/>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="copyright">
            <div class="footNav">
                <div class="about-">
                    <a href="#" target="_blank">网站简介</a><span>│</span>
                    <a href="#" target="_blank">网站帮助</a><span>│</span>
                    <a href="#" target="_blank">版权声明</a><span>│</span>
                    <a href="#" target="_blank">友情连接</a><span>│</span>
                    <a href="#" target="_blank">网站地图</a><span>│</span>
                    <a href="#">上传电子书</a>
                </div>
                Copyright&copy;2020-2021 爱久久小说网 All Rights Reserved 版权所有<br />
                本站所收录的完整版电子书和小说及评论都属会员的个人上传行为，如侵犯您的权益，请将相关详情通知我们，我们将立即处理！
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
<script type="text/javascript" src="../js/jquery-3.6.0.js"></script>
<script type="text/javascript">
    var E = window.wangEditor
    var editor = new E('#div1')
    // 创建编辑器
    editor.create()
    //监听变化
    editor.config.onchange = (html) => {
        $('#text1').val(editor.txt.html())
    };
</script>
</html>

